#ifndef DTOFlightRelated_H_
#define DTOFlightRelated_H_

#include "DTO.h"
#include "DTOFlight.h"

enum flightRelatedRequestType {LAND_FLIGHT,TAKE_OFF_FLIGHT};


class DTOFlightRelated: public DTO {
public:
	DTOFlightRelated(std::string& aDeserealizar);
	DTOFlightRelated(DTOFlight dtoFlight,flightRelatedRequestType actionToPerform);
	~DTOFlightRelated();

	virtual std::string serializar();

	DTOFlight getDtoFlight();
	flightRelatedRequestType getActionToPerform();

protected:

	virtual void deserializar(std::string& string);
private:
	DTOFlight dtoFlight;

	flightRelatedRequestType actionToPerform;
};

#endif /* DTOFlightRelated_H_ */
